<?php

define('WEBKEY', 'wertyuio');

function autoLoginFlagEncode($array){
	$string = implode(':',$array);
	$cookieValue = base64_encode($string);
	return $cookieValue;
}

function autoLoginFlagDecode($str){
	$string = base64_decode($str);
	$cookieValue = explode(':', $string);
	return $cookieValue;
}